<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //  二维数组;
        // const result = Object.fromEntries([
        //    ['name','李欣雨'],
        //  ['gender','女']
        //])

        //Map
        const m = new Map ();
        m.set('name','jfdj');
        const result = Object.fromEntries(m);
        
        const arr = Object.entries({
            name:"李欣雨"
        })



        console.log(arr);

    </script>
</body>
</html>